﻿@model mBlog.Admin.ViewModels.CategoryInput

@{
    ViewBag.Title = "Add";
}

<h2>Add</h2>
@using (Html.BeginForm())
{
    @Html.ValidationSummary()
    <fieldset>
        <legend>Post</legend>
        <div class="editor-label">
               @Html.LabelFor(m => m.Name)
        </div>
        <div class="editor-field">
            @Html.EditorFor(m => m.Name)
        </div>
        <div class="editor-label">
               @Html.LabelFor(m => m.UrlName)
        </div>
        <div class="editor-field">
            @Html.EditorFor(m => m.UrlName)
        </div>
        <div class="editor-label">
               @Html.LabelFor(m => m.IsActive)
        </div>
        <div class="editor-field">
            @Html.EditorFor(m => m.IsActive)
        </div>
    </fieldset>
    <input type="submit" value="Add" />
}
